
def func(n):
    a,b = 1,1
    if n==1 or n==2:
        return 1
    i = 3
    while i<=n:
        a,b = b,a + b
        i = i+1
    return b

if __name__=="__main__":
    s = []
    num = int(input("请输入一个整数："))
    for i in range(1,num+1):
        s.append(str(func(i)))
    print(','.join(s))
